package com.zt.pojo;

import java.io.Serializable;
/**
 * 合同表
 * @author zt
 *
 */
public class Contract implements Serializable{

	private static final long serialVersionUID = 1L;
	private int contract_id;
	private int deptno;
	private int empno;
	private String sign_date;
	private double sign_age;
	private int sign_state;
	private double rest_years;
	
	public Contract(){}
	
	public Contract(int contract_id) {
		super();
		this.contract_id = contract_id;
	}

	public Contract(int deptno, int empno, String sign_date, double sign_age, int sign_state, double rest_years) {
		super();
		this.deptno = deptno;
		this.empno = empno;
		this.sign_date = sign_date;
		this.sign_age = sign_age;
		this.sign_state = sign_state;
		this.rest_years = rest_years;
	}
	public int getContract_id() {
		return contract_id;
	}
	public void setContract_id(int contract_id) {
		this.contract_id = contract_id;
	}
	public int getDeptno() {
		return deptno;
	}
	public void setDeptno(int deptno) {
		this.deptno = deptno;
	}
	public int getEmpno() {
		return empno;
	}
	public void setEmpno(int empno) {
		this.empno = empno;
	}
	public String getSign_date() {
		return sign_date;
	}
	public void setSign_date(String sign_date) {
		this.sign_date = sign_date;
	}
	public double getSign_age() {
		return sign_age;
	}
	public void setSign_age(double sign_age) {
		this.sign_age = sign_age;
	}
	public int getSign_state() {
		return sign_state;
	}
	public void setSign_state(int sign_state) {
		this.sign_state = sign_state;
	}
	public double getRest_years() {
		return rest_years;
	}
	public void setRest_years(double rest_years) {
		this.rest_years = rest_years;
	}
	@Override
	public String toString() {
		return "Contract [contract_id=" + contract_id + ", deptno=" + deptno + ", empno=" + empno + ", sign_date="
				+ sign_date + ", sign_age=" + sign_age + ", sign_state=" + sign_state + ", rest_years=" + rest_years
				+ "]";
	}	
}
